runtime.p.runq (field)
32 uses
runtime (current package)
proc.go#L5100: gp := pp.runq[pp.runqtail%uint32(len(pp.runq))].ptr()
proc.go#L6006: if n > int32(len(pp.runq))/2 {
proc.go#L6007: n = int32(len(pp.runq)) / 2
proc.go#L6220: if t-h < uint32(len(pp.runq)) {
proc.go#L6221: pp.runq[t%uint32(len(pp.runq))].set(gp)
proc.go#L6235: var batch [len(pp.runq)/2 + 1]*g
proc.go#L6240: if n != uint32(len(pp.runq)/2) {
proc.go#L6244: batch[i] = pp.runq[(h+i)%uint32(len(pp.runq))].ptr()
proc.go#L6281: for !q.empty() && t-h < uint32(len(pp.runq)) {
proc.go#L6283: pp.runq[t%uint32(len(pp.runq))].set(gp)
proc.go#L6291: return (pp.runqtail + o) % uint32(len(pp.runq))
proc.go#L6295: pp.runq[off(i)], pp.runq[off(j)] = pp.runq[off(j)], pp.runq[off(i)]
proc.go#L6327: gp := pp.runq[h%uint32(len(pp.runq))].ptr()
proc.go#L6350: if qn > uint32(len(pp.runq)) { // read inconsistent h and t
proc.go#L6366: gp := pp.runq[(h+i)%uint32(len(pp.runq))].ptr()
proc.go#L6416: if n > uint32(len(pp.runq)/2) { // read inconsistent h and t
proc.go#L6420: g := pp.runq[(h+i)%uint32(len(pp.runq))]
proc.go#L6434: n := runqgrab(p2, &pp.runq, t, stealRunNextG)
proc.go#L6439: gp := pp.runq[(t+n)%uint32(len(pp.runq))].ptr()
proc.go#L6444: if t-h+n >= uint32(len(pp.runq)) {
runtime2.go#L643: runq [256]guintptr
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |